<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
  <meta name="keywords" content="" />
  <meta name="description" content="" />
  <meta content="yes" name="apple-mobile-web-app-capable" />
  <meta name="apple-mobile-web-app-status-bar-style" content="blank">
  <meta content="telephone=no" name="format-detection" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>合并订单</title>
  <link rel="stylesheet" href="./css/mreset.css">
  <link rel="stylesheet" href="./css/swiper-3.4.2.min.css">
  <link rel="stylesheet" href="./css/main.css">
  <script src="js/jquery-1.11.3.min.js"></script>
  <script src="js/flexible.js"></script>
  <script src="js/swiper-3.4.2.min.js"></script>
  <script src="/js/djx.js"></script>

</head>
<body ontouchstart>
  <div class="wap">
    <div class="my-order">
      <div class="order-header">
        订单编号：13123154687
        <span>合并定单未提货</span>
      </div>
      <div class="order-body">
        <div class="order-goods">
          <img src="./images/order_commodity_b@2x.png" />
          <div class="order-goods-info">
            <h3>乐薇红葡萄酒 </h3>
            <p class="num">X3</p>
            <p class="price">576元</p>
            <p class="jd">运费：21元</p>
          </div>
        </div>
        <div class="hb-xq">
          <span class="sq" data-if="false">收起</span>
          <table>
            <thead>
              <tr>
                <th>商品</th>
                <th>数量</th>
                <th>单价</th>
                <th>总计</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td><p>葡萄酒葡萄酒葡萄酒葡萄酒</p></td>
                <td>6</td>
                <td>3880000元</td>
                <td>1234567元</td>
              </tr>
            </tbody>
          </table>
        </div>
        <div class="order-total">
          合计：1232元
        </div>
      </div>
      <div class="order-footer">
        <button class="btn btn-plain" type="button">取消合并</button>
        <button class="btn" type="button">
          <a href="./tihuo.html" style="display: inline-block;width: 100%;color: #fff;">合并提货</a>
        </button>
      </div>
    </div>

    <div class="my-order">
      <div class="order-header">
        订单编号：13123154687
        <span>合并定单已提货</span>
      </div>
      <div class="order-body">
        <div class="order-goods">
          <img src="./images/order_commodity_b@2x.png" />
          <div class="order-goods-info">
            <h3>乐薇红葡萄酒 </h3>
            <p class="num">X3</p>
            <p class="price">576元</p>
            <p class="jd">运费：21元</p>
          </div>
        </div>
        <div class="hb-xq">
          <span class="sq" data-if="false">收起</span>
          <table>
            <thead>
            <tr>
              <th>商品</th>
              <th>数量</th>
              <th>单价</th>
              <th>总计</th>
            </tr>
            </thead>
            <tbody>
            <tr>
              <td><p>葡萄酒葡萄酒葡萄酒葡萄酒</p></td>
              <td>6</td>
              <td>3880000元</td>
              <td>1234567元</td>
            </tr>
            </tbody>
          </table>
        </div>
        <div class="order-total">
          合计：1232元
        </div>
      </div>
    </div>
  </div>
  <script>
    $('.sq').click(function(){
      if($(this).siblings('table').find('tbody').is(':hidden')){
        $(this).siblings('table').find('tbody').show(10,function () {
          $('.sq').html('收起')
        })
      }else{
        $(this).siblings('table').find('tbody').hide(10,function () {
          $('.sq').html('详情')
        });
        
      }
    })

  </script>
</body>
</html>